package net.liteheaven;

import android.content.Context;

/**
 * Created by liangy on 2016/8/9.
 */
public class XbApp {

    private static XbApp sInstance = null;
    private Context appCtx;

    public static XbApp getInstance(){
        if (sInstance == null){
            sInstance = new XbApp();
        }
        return sInstance;
    }

    public void setContext(Context appCtx){
        this.appCtx = appCtx;
    }

    public Context getContext(){
        return appCtx;
    }
}
